package entity;

import java.io.Serializable;
import java.sql.Date;

/**
 * ClassName:Comment
 * Package:entity
 *
 * @date:2021/10/28 6:49 下午
 * @author: Tiangle
 */
public class Comment implements Serializable {
    private int comid;
    private String content;
    private int score;
    private Date comdate;
    private int pid;

    public int getComid() {
        return comid;
    }

    public void setComid(int comid) {
        this.comid = comid;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }

    public Date getComdate() {
        return comdate;
    }

    public void setComdate(Date comdate) {
        this.comdate = comdate;
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    @Override
    public String toString() {
        return "Comment{" +
                "comid=" + comid +
                ", content='" + content + '\'' +
                ", score=" + score +
                ", comdate=" + comdate +
                ", pid=" + pid +
                '}';
    }
}
